import request from '@/utils/request';

const organismCorrelationApi = {};


organismCorrelationApi.page = (params) => {
	return request({
		url: '/platform-api/organism-correlation/page',
		method: 'get',
		params: params,
	})
}
organismCorrelationApi.add = (params) => {
	return request({
		url: '/platform-api/organism-correlation',
		method: 'post',
		data: params,
	})
}
organismCorrelationApi.update = (params) => {
	return request({
		url: '/platform-api/organism-correlation',
		method: 'put',
		data: params,
	})
}
organismCorrelationApi.get = (id, type) => {
	return request({
		url: '/platform-api/organism-correlation/' + type + '/' + id,
		method: 'get',
	})
}
organismCorrelationApi.delete = (id, type) => {
	return request({
		url: '/platform-api/organism-correlation/' + type + '/' + id,
		method: 'delete',
	})
}


export default organismCorrelationApi